public class Main {
    public static void main(String[] args) {
        double a = -1;
        double b = Math.sqrt(a);
        System.out.println(b);
    }
}
